package com.psl.action.frameAction;

import com.psl.services.frame.helpsetServices;
import org.apache.struts2.ServletActionContext;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by mioko on 2017/9/17.
 */
public class savehelp {
    public String execute(){
        HttpServletRequest request= ServletActionContext.getRequest();
        String groupId=request.getParameter("groupId");
        String name=request.getParameter("txtname");
        String acticle=request.getParameter("content");
        helpsetServices hps=new helpsetServices();
        hps.savehelp(groupId,name,acticle);
        return "success";
    }
}
